﻿using Ay.MvcFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MPSystem.Models
{
  public  class DataQuery_ZCAnalysisModel : AyTableViewRowModel
    {
        private DateTime _ZDTime = DateTime.Now;

        /// <summary>
        /// 时间
        /// </summary>
        public DateTime ZDTIME
        {
            get { return _ZDTime; }
            set { Set(ref _ZDTime, value); }
        }

        private int _Fzbh;

        /// <summary>
        /// 分站编号
        /// </summary>
        public int FZBH
        {
            get { return _Fzbh; }
            set { Set(ref _Fzbh, value); }
        }
        private string _ZJBH;

        /// <summary>
        /// 支架编号
        /// </summary>
        public string ZJBH
        {
            get { return _ZJBH; }
            set { Set(ref _ZJBH, value); }
        }

        private double _zd_zdzl;
        private double _zd_pjz;
        private double _zd_jfz;
        private double _zd_pj_jfz;

        private double _pj_zdzl;
        private double _pj_pjz;
        private double _pj_jfz;
        private double _pj_pj_jfz;

        private string _AZWZ;
        /// <summary>
        /// 安装位置
        /// </summary>
        public string AZWZ
        {
            get { return _AZWZ; }
            set { Set(ref _AZWZ, value); }
        }

        private bool _ZT;

        /// <summary>
        /// 状态
        /// </summary>
        public bool ZT
        {
            get { return _ZT; }
            set { Set(ref _ZT, value); }
        }
        private double _P1;

        /// <summary>
        /// p1
        /// </summary>
        public double P1
        {
            get { return _P1; }
            set { Set(ref _P1, value); }
        }
        private double _P2;

        /// <summary>
        /// p2
        /// </summary>
        public double P2
        {
            get { return _P2; }
            set { Set(ref _P2, value); }
        }
        private double _P3;

        /// <summary>
        /// p3
        /// </summary>
        public double P3
        {
            get { return _P3; }
            set { Set(ref _P3, value); }
        }
        private double _X;

        /// <summary>
        /// X
        /// </summary>
        public double X
        {
            get { return _X; }
            set { Set(ref _X, value); }
        }
        private double _Y;

        /// <summary>
        /// Y
        /// </summary>
        public double Y
        {
            get { return _Y; }
            set { Set(ref _Y, value); }
        }

        public double Zd_zdzl { get => _zd_zdzl; set => _zd_zdzl = value; }
        public double Zd_pjz { get => _zd_pjz; set => _zd_pjz = value; }
        public double Zd_jfz { get => _zd_jfz; set => _zd_jfz = value; }
        public double Zd_pj_jfz { get => _zd_pj_jfz; set => _zd_pj_jfz = value; }
        public double Pj_zdzl { get => _pj_zdzl; set => _pj_zdzl = value; }
        public double Pj_pjz { get => _pj_pjz; set => _pj_pjz = value; }
        public double Pj_jfz { get => _pj_jfz; set => _pj_jfz = value; }
        public double Pj_pj_jfz { get => _pj_pj_jfz; set => _pj_pj_jfz = value; }
    }

    public class DataQuery_ZCAnalysisModelSearchModel : Model
    {
        private string _OrderCondition;

        /// <summary>
        /// 未填写
        /// </summary>
        public string OrderCondition
        {
            get { return _OrderCondition; }
            set { Set(ref _OrderCondition, value); }
        }

        private int _CboQCSelect = -1;

        /// <summary>
        /// 测区选择
        /// </summary>
        public int CboQCSelect
        {
            get { return _CboQCSelect; }
            set { Set(ref _CboQCSelect, value); }
        }

        private int _CboGZMSelect = -1;

        /// <summary>
        /// 工作面选择
        /// </summary>
        public int CboGZMSelect
        {
            get { return _CboGZMSelect; }
            set { Set(ref _CboGZMSelect, value); }
        }
        private string _SearchName;

        /// <summary>
        /// 未填写
        /// </summary>
        public string SearchName
        {
            get { return _SearchName; }
            set { Set(ref _SearchName, value); }
        }
        private int _PageSize = 30;

        /// <summary>
        /// 未填写
        /// </summary>
        public int PageSize
        {
            get { return _PageSize; }
            set { Set(ref _PageSize, value); }
        }
        private int _PageIndex = 0;

        /// <summary>
        /// 未填写
        /// </summary>
        public int PageIndex
        {
            get { return _PageIndex; }
            set { Set(ref _PageIndex, value); }
        }

        private int _PageCount = 0;
        public int PageCount
        {
            get { return _PageCount; }
            set { Set(ref _PageCount, value); }
        }
        private int _Start = 0;
        public int Start
        {
            get { return _Start; }
            set { Set(ref _Start, value); }
        }
        private int _End = 0;
        public int End
        {
            get { return _End; }
            set { Set(ref _End, value); }
        }
        private int _IndexCQ = 0;
        public int IndexCQ
        {
            get { return _IndexCQ; }
            set { Set(ref _IndexCQ, value); }
        }
        private int _IndexGZM = 0;
        public int IndexGZM
        {
            get { return _IndexGZM; }
            set { Set(ref _IndexGZM, value); }
        }

        private DateTime _DateFrom = DateTime.Now;

        /// <summary>
        /// 未填写
        /// </summary>
        public DateTime DateFrom
        {
            get { return _DateFrom; }
            set { Set(ref _DateFrom, value); }
        }
        private DateTime _DateTo = DateTime.Now;

        /// <summary>
        /// 未填写
        /// </summary>
        public DateTime DateTo
        {
            get { return _DateTo; }
            set { Set(ref _DateTo, value); }
        }

    }

}
